package com;

import java.io.FileWriter;

public class IO_09_FileWrter {
	public static void main(String[] args) {
		try (FileWriter fr = new FileWriter("./src/com/test_01.txt", false)) {
			fr.write("你好吗?吃了吗");
			char[] chars = { 'a', 'b', 'c', 'd' };
			fr.write(chars);
			fr.flush();
		} catch (Exception e) {
			e.printStackTrace();
		}
	}
}